UCF STIG Viewer Logo

Lookup Service log files must only be accessible by privileged users.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256712 VCLU-70-000007 SV-256712r918958_rule Medium
Description
Log data is essential in the investigation of events. If log data were to become compromised, competent forensic analysis and discovery of the true source of potentially malicious system activity would be difficult, if not impossible, to achieve. In addition, access to log records provides information an attacker could use to their advantage because each event record might contain communication ports, protocols, services, trust relationships, usernames, etc. The Lookup Service restricts all access to log files by default, but this configuration must be verified. Satisfies: SRG-APP-000118-WSR-000068, SRG-APP-000119-WSR-000069, SRG-APP-000120-WSR-000070
STIG Date
VMware vSphere 7.0 vCenter Appliance Lookup Service Security Technical Implementation Guide 2023-06-15

Details

Check Text ( C-60387r918956_chk )
At the command prompt, run the following command:

# find /var/log/vmware/lookupsvc -xdev -type f ! -name lookupsvc-init.log -a '(' -perm -o+w -o -not -user lookupsvc -o -not -group lookupsvc ')' -exec ls -ld {} \;

If any files are returned, this is a finding.

Note: Prior to Update 3h, the user and group should be root.
Fix Text (F-60330r918957_fix)
At the command prompt, run the following commands:

# chmod o-w /var/log/vmware/lookupsvc/
# chown lookupsvc:lookupsvc /var/log/vmware/lookupsvc/

Note: Substitute with the listed file.